using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN SoNoSinhVienEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: SoNoSinhVienEntity</para>
	/// <para>Description: ClassSoNoSinhVienEntity store data of table SoNoSinhVien</para>
	///</summary>

	[DataContract]
	public partial class SoNoSinhVienEntity{


		private bool _InternalChangedIsNullSoNoSinhVien_ID=true;
		private bool _IsNullSoNoSinhVien_ID=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullNgayCN=true;
		private bool _IsNullNgayCN=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private bool _InternalChangedIsNullNamHoc_ID=true;
		private bool _IsNullNamHoc_ID=true;
		private bool _InternalChangedIsNullHocKy_ID=true;
		private bool _IsNullHocKy_ID=true;
		private int _SoNoSinhVien_ID;
		private int _SinhVien_ID;
		private DateTime _NgayCN;
		private string _GhiChu;
		private int _NamHoc_ID;
		private int _HocKy_ID;
		[DataMember]
		public bool IsNullSoNoSinhVien_ID{
			get{return _IsNullSoNoSinhVien_ID;}
			set{if(!_InternalChangedIsNullSoNoSinhVien_ID)_IsNullSoNoSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullNgayCN{
			get{return _IsNullNgayCN;}
			set{if(!_InternalChangedIsNullNgayCN)_IsNullNgayCN=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public bool IsNullNamHoc_ID{
			get{return _IsNullNamHoc_ID;}
			set{if(!_InternalChangedIsNullNamHoc_ID)_IsNullNamHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullHocKy_ID{
			get{return _IsNullHocKy_ID;}
			set{if(!_InternalChangedIsNullHocKy_ID)_IsNullHocKy_ID=value;}
		}
		[DataMember]
		public int SoNoSinhVien_ID{
			get{return _SoNoSinhVien_ID;}
			set{
				_SoNoSinhVien_ID=value;
				if(_SoNoSinhVien_ID!=null){
					_IsNullSoNoSinhVien_ID=false;
					_InternalChangedIsNullSoNoSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public DateTime NgayCN{
			get{return _NgayCN;}
			set{
				_NgayCN=value;
				if(_NgayCN!=null){
					_IsNullNgayCN=false;
					_InternalChangedIsNullNgayCN=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
		[DataMember]
		public int NamHoc_ID{
			get{return _NamHoc_ID;}
			set{
				_NamHoc_ID=value;
				if(_NamHoc_ID!=null){
					_IsNullNamHoc_ID=false;
					_InternalChangedIsNullNamHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int HocKy_ID{
			get{return _HocKy_ID;}
			set{
				_HocKy_ID=value;
				if(_HocKy_ID!=null){
					_IsNullHocKy_ID=false;
					_InternalChangedIsNullHocKy_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END SoNoSinhVienEntityBase*****************************************/
	/*****************************************************************************************************/
}

